package com.commerce.common.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 商品规格实体 */
@Data
@TableName("product_specs")
public class ProductSpec {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("product_id")
    private Long productId;
    
    private String name;
    
    private String value;
    
    private Integer sort;
    
    @TableField("create_time")
    private LocalDateTime createTime;
} 
